package com.un.ebs.core.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum PowerTypeEnum {
    /**
     * PC Web 菜单结构
     */
    Menu(1, "sys_menu"),

    /**
     * mobile 菜单结构
     */
    Mobile_Menu(2, "mobile_menu"),

    /**
     * 商品类别权限
     */
    Spu_Class(3, "spu_class"),

    /**
     * 商品SPU权限
     */
    Spu(4, "spu"),

    /**
     * 客户渠道权限
     */
    Customer_Source(5, "cust_source"),

    /**
     * 订单优惠申请
     */
    Order_Discount_Apply(6, "订单优惠申请");

    PowerTypeEnum(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @EnumValue
    private final int value;

    private final String desc;
}
